import 'package:json_annotation/json_annotation.dart'; 
  
part 'from_token_model.g.dart';

// 获取表达重复提交
@JsonSerializable()
  class FromTokenModel extends Object {

  @JsonKey(name: 'code')
  int code;

  @JsonKey(name: 'message')
  String message;

  @JsonKey(name: 'data')
  Data data;

  FromTokenModel(this.code,this.message,this.data,);

  factory FromTokenModel.fromJson(Map<String, dynamic> srcJson) => _$FromTokenModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$FromTokenModelToJson(this);

}

  
@JsonSerializable()
  class Data extends Object {

  @JsonKey(name: 'form_token')
  String formToken;

  Data(this.formToken,);

  factory Data.fromJson(Map<String, dynamic> srcJson) => _$DataFromJson(srcJson);

  Map<String, dynamic> toJson() => _$DataToJson(this);

}

  
